package homework_06.home_06;

import homework_06.home_05.Person;

public class PersonCreate {
    /*定义一个PersonCreate类：
    创建两个对象，分别是zhangsan，33岁，1.73；
    lishi，44，1.74 ，
    分别调用对象的sayHello()方法。*/
    String name;
    int age;
    double height;

    public PersonCreate(String name, int age, double height) {
        this.name = name;
        this.age = age;
        this.height = height;
    }
    public void sayHello(){
        System.out.println("hello,my name is "+name);
    }
}
